<?php
$oNotes = NoteHandler::getNotes($_SESSION['iJobID'], $_REQUEST['iMissionID']);
?>
<div id="layer_note_delete" class="hidden" style="visibility: visible;">
<form action="index.php" method="post" name="form_note_delete">
<input type="hidden" name="sAction" value="note-delete">
<input type="hidden" name="iNoteID" value="<?php print $_REQUEST['iNoteID'] ?>">
<input type="hidden" name="iMissionID" value="<?php print $_REQUEST['iMissionID'] ?>">
<input type="hidden" name="sView" value="<?php print $_REQUEST['sView'] ?>">
<table class="boxborder" cellspacing="0">
	<tr>
		<td class="boxhandle"><?php print msg('Delete note') ?></td>
	</tr>
	<tr>
		<td class="boxbody small"><?php print nl2br(wordwrap(stripslashes($oNotes[$_REQUEST['iNoteID']]->sBody))) ?></td>
	</tr>
	<tr>
		<td class="boxbody center">
			<hr size="1">
			<?php print msg('Are you sure you want<br>to delete this note?') ?>
		</td>
	</tr>
	<tr>
		<td class="boxbody center">
			<input type="submit" value="<?php print msg('OK') ?>">
			<input type="button" value="<?php print msg('Cancel') ?>" id="focus_note_delete" onClick="layerHide('layer_note_delete');">
		</td>
	</tr>
</table>
</form>
</div>
